package com.twetec.cms.model.po.system;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.twetec.cms.model.po.base.BasePO;

/**
 * <p>
 * 
 * </p>
 *
 * @author zhxl
 * @since 2021-03-16
 */
@TableName("SYSTEM_SITE_PERMISSION")
public class SystemSitePermissionPO extends BasePO {

    private static final long serialVersionUID=1L;

    /**
     * 权限名称
     */
    @TableField("PERMISSION_NAME")
    private String permissionName;

    /**
     * 权限标识
     */
    @TableField("PERMISSION_SLUG")
    private String permissionSlug;

    /**
     * 权限类型
     */
    @TableField("PERMISSION_TYPE")
    private String permissionType;

    /**
     * 权限组
     */
    @TableField("PERMISSION_GROP")
    private String permissionGrop;

    /**
     * 创建人名字
     */
    @TableField(exist = false)
    private String modifierName;


    public String getPermissionName() {
        return permissionName;
    }

    public void setPermissionName(String permissionName) {
        this.permissionName = permissionName;
    }

    public String getPermissionSlug() {
        return permissionSlug;
    }

    public void setPermissionSlug(String permissionSlug) {
        this.permissionSlug = permissionSlug;
    }

    public String getPermissionType() {
        return permissionType;
    }

    public void setPermissionType(String permissionType) {
        this.permissionType = permissionType;
    }

    public String getPermissionGrop() {
        return permissionGrop;
    }

    public void setPermissionGrop(String permissionGrop) {
        this.permissionGrop = permissionGrop;
    }

    public String getModifierName() {
        return modifierName;
    }

    public void setModifierName(String modifierName) {
        this.modifierName = modifierName;
    }

    @Override
    public String toString() {
        return "SystemSitePermissionPO{" +
        "permissionName=" + permissionName +
        ", permissionSlug=" + permissionSlug +
        ", permissionType=" + permissionType +
        ", dataOrg=" + this.getDataOrg() +
        ", permissionGrop=" + permissionGrop +
        ", modifierName=" + modifierName +
        "}";
    }
}
